package com.factory.ssm.service;

import java.util.List;

import com.factory.ssm.beans.Factory;
import com.factory.ssm.beans.Pharmaceutical;

public interface PharmaceuticalService {

	List<Pharmaceutical> getpharmaceuticalByFactoryId(String factoryId);

	void insert(Pharmaceutical pharmaceutical);

	void deletePharmaceuticalById(Integer id);

	Pharmaceutical getPharmaceuticalById(Integer id);

	void updatePharmaceuticalById(Pharmaceutical pharmaceutical);

	void deleteByFactoryId(String id);

	void updatePharmaceuticalByFactoryId(Factory factory);
}
